/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dale2507.gates.data.permissions.bukkit;

import dale2507.gates.data.permissions.IBypassPermissions;
import org.bukkit.World;
import org.bukkit.entity.Player;

/**
 *
 * @author Dale
 */
public class BypassPermissions implements IBypassPermissions {
    
    private static final String PREFIX = "bypass.";

    @Override
    public boolean bypassPrivate(Player p) {
        return p.hasPermission(BukkitPermissions.PREFIX + BypassPermissions.PREFIX + "private");
    }

    @Override
    public boolean bypassIris(Player p) {
        return p.hasPermission(BukkitPermissions.PREFIX + BypassPermissions.PREFIX + "iris");
    }
    
}
